<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:host="clr-namespace:ViewOnCore.HostContract;assembly=ViewOnCore">

	<ResourceDictionary.MergedDictionaries>
		<ResourceDictionary Source="..\Shared.xaml" />
	</ResourceDictionary.MergedDictionaries>

	<Style x:Key="ToggleButton.Star" TargetType="{x:Type ToggleButton}">
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToggleButton}">
						<Path
							x:Name="_path"
							Data="M6,0 L4.5,4.842 0.5,4.842 3.5,7.842 2.5,11.842 5.5,9.842 6.5,9.842 9.5,11.842 8.5,7.842 11.5,4.842 7.5,4.842 6,0"
							Width="14"
							Height="14"
							StrokeThickness="0"
							Margin="2,2,0,0"
							Fill="{DynamicResource VOGradient01}"/>
					<ControlTemplate.Triggers>
						<Trigger Property="IsChecked" Value="True">
							<Setter TargetName="_path" Property="BitmapEffect">
								<Setter.Value>
									<OuterGlowBitmapEffect GlowColor="{Binding Source={x:Static host:Host.UIService}, Path=GlowColors.VOGColor1A}" GlowSize="3"/>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="IsChecked" Value="False">
							<Setter TargetName="_path" Property="Fill" Value="{DynamicResource VOColorIcon}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
    
</ResourceDictionary>